package com.chenfeng.basetest;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.chenfeng.util.UtilConstantFinal;


public class BaseTest
{
	protected ApplicationContext ac ;
	@Before
	public void init()
	{
		ac = new ClassPathXmlApplicationContext("classpath:spring/application.cfg_*.xml");
		UtilConstantFinal.LOGGER.info("spring初始化");
	}
	@Test
	public void test()
	{
		UtilConstantFinal.LOGGER.info("测试开始");
	}
	@After
	public void aftertest()
	{
		UtilConstantFinal.LOGGER.info("测试结束");
	}
}
